﻿@model Stiline.Web.Models.Account.UserInfoModel


    @if (Model.IsAuthenticated)
    {
        <span class="share-link">share your public tasks with friends: @Url.Action("Calendar","Task")/@(((AdoDAL.Entities.User)Model.User).Id)</span>
    }

<span class="right">
    @if (Model.IsAuthenticated)
    {
        <span>@Model.User.Email</span>
        @Html.ActionLink("Logout", "Logout", "Account")
    }
    else
    {
        @Html.ActionLink("Login", "Login", "Account")
    }
</span>